sp_configure 'show advanced options' ,1
go
reconfigure
go
sp_configure 'min server memory',32
go
reconfigure
go
RESTORE DATABASE [Denis_repre] FROM  DISK = N'C:\linxinst\repre_zero_300.bkp' WITH  FILE = 1,  NOUNLOAD ,  STATS = 10,  RECOVERY ,  REPLACE ,  MOVE N'lx_zero_300_dbData' TO N'C:\MSSQL7\data\Denis_repre_db.MDF',  MOVE N'lx_zero_300_Log' TO N'C:\MSSQL7\data\Denis_repre_Log.LDF'
go
exec sp_MSdbuseraccess N'perm' , N'Denis_repre'
go
exec sp_MSdbuseraccess N'db', N'Denis_repre'
go

